<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>세션 확인 성공</title>
<script type="text/javascript">
function popupclose(select, idx){
	if(select == 1){ // 수정
		window.opener.top.location.href="NoticeUpdateViewDB.ao?idx="+idx;
		window.close();
	}else if(select == 2){ // 삭제
		window.opener.top.location.href="NoticeDeleteDB.ao?idx="+idx;
		window.close();
	}
}
</script>
</head>
<body onload="popupclose(<%=request.getParameter("select")%>,<%=request.getParameter("idx")%>)">
</body>
</html>